package com.java.service.impl;

import com.java.dao.AccountWalletMapper;
import com.java.dao.ApplyMapper;
import com.java.model.AccountWallet;
import com.java.service.AccountWalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountWalletServiceImpl implements AccountWalletService {

    @Autowired
    private AccountWalletMapper accountWalletMapper;

    @Override
    public AccountWallet mediaRecharge(int id) {
        return accountWalletMapper.mediaRecharge(id);
    }

    @Override
    public void code(AccountWallet accountWallet) {
        accountWalletMapper.code(accountWallet);
    }

    @Override
    public void modifyMediaRecharge(AccountWallet accountWallet) {
        accountWalletMapper.modifyMediaRecharge(accountWallet);
    }

    @Override
    public List<AccountWallet> mpp(AccountWallet accountWallet) {
        return accountWalletMapper.mpp(accountWallet);
    }
}
